projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd524c2
)
(set_frame_size): Don't call change_frame_size.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Mar 2002 23:48:04 +0000
(23:48 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 30 Mar 2002 23:48:04 +0000
(23:48 +0000)
src/widget.c
patch
|
blob
|
history
diff --git
a/src/widget.c
b/src/widget.c
index ab4c4f869b523a6c5d22c0210fe3fffbfb490400..4f2e1dee173fd04b84521d6d07d424570adec621 100644
(file)
--- a/
src/widget.c
+++ b/
src/widget.c
@@
-436,7
+436,11
@@
set_frame_size (ew)
x_compute_fringe_widths (frame, 0);
+#if 0 /* This can run Lisp code, and it is dangerous to give
+ out the frame to Lisp code before it officially exists.
+ This is handled in Fx_create_frame so not needed here. */
change_frame_size (frame, h, w, 1, 0, 0);
+#endif
char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
ew->core.width = pixel_width;
ew->core.height = pixel_height;